package org.computate.model.dao;

import java.util.List;

import org.computate.model.item.Photo;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.Query;

public interface PhotoDao extends ComputateDao<Photo> {
	public Photo create();
	public Photo put(Photo item);
	public Photo save(Object itemObject);
	public Photo create(String name);
	public Photo create(String name, String parentField, Long parentId, int getLevels);
	public Photo get(Long id, int getLevels);
	public Photo get(String name, int getLevels);
	public Photo delete(Long id);
	public Photo delete(Photo item);
	public List<Photo> list(int listLevels);
	public List<Photo> list(Query<Photo> query, int listLevels);
	public Objectify ofy();
}
